<?php
/**
 * Created by PhpStorm.
 * User: apple
 * Date: 2018/11/29
 * Time: 1:30 PM
 */

namespace app\shop\validate;


class Goods extends \ShopValidate
{
    protected $rule = [
        'goods_id' => 'require|integer',
    ];

    protected $field = [
        'goods_id' => '商品ID',
    ];

    protected $scene = [
        'info' => ['goods_id'],
    ];
}